import { http } from '@/utils/http'

// 获取人脸信息
export function getFaceInfo(data) {
    return http({
        url: '/system/user/identity_info/',
        method: 'get',
        data: data
    })
}

// 跟新人脸信息
export function updateFaceInfo(data) {
    return http({
        url: '/system/user/update_identity/',
        method: 'post',
        data: data,
        headers: { 'Content-Type': 'multipart/form-data' }
    })
}